﻿using System;

namespace SmartSiteManagementSystem.Models.Admin

{
    [Serializable]
    public class AdminUserInfo
    {
        #region Model
        private int _adminuserid;
        private string _username;
        private string _userpwd;
        //private int _userType;
        private DateTime _createtime;
        private DateTime _updatetime;
        private bool _stopflag;
        private bool _deleteflag;

        private string _Email;
        private string _HandMobile;
        private string _remark;
        private string _idcard;

        /// <summary>
        /// 用户自增Id
        /// </summary>
        public int AdminUserId
        {
            set { _adminuserid = value; }
            get { return _adminuserid; }
        }
        /// <summary>
        /// 用户名
        /// </summary>        
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPwd
        {
            set { _userpwd = value; }
            get { return _userpwd; }
        }
        /// <summary>
        /// 用户类型 1：职员 2：系统用户
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 停用标识
        /// </summary>
        public bool StopFlag
        {
            set { _stopflag = value; }
            get { return _stopflag; }
        }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool DeleteFlag
        {
            set { _deleteflag = value; }
            get { return _deleteflag; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string HandMobile
        {
            get { return _HandMobile; }
            set { _HandMobile = value; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCard
        {
            get
            {
                return _idcard;
            }
            set
            {
                _idcard = value;
            }
        }


        public string RoleNames { get; set; }

        #endregion Model
    }
}
